package Sunday;

public class Cust {
    private Integer cust_id;
    private String cust_name;
    private String cust_sex;


    public Cust() {
    }

    public Cust(Integer cust_id, String cust_name, String cust_sex) {
        this.cust_id = cust_id;
        this.cust_name = cust_name;
        this.cust_sex= cust_sex;
    }

    public Integer getId() {
        return cust_id;
    }

    public void setId(Integer cust_id) {
        this.cust_id = cust_id;
    }

    public String getName() {
        return cust_name;
    }

    public void setName(String cust_name) {
        this.cust_name = cust_name;
    }

    public String getSex() {
        return cust_sex;
    }

    public void setSex(String cust_sex) {
        this.cust_sex = cust_sex;
    }



    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Cust{");
        sb.append("cust_id=").append(cust_id);
        sb.append(", cust_name='").append(cust_name).append('\'');
        sb.append(",cust_sex ='").append(cust_sex).append('\'');
        sb.append('}');
        return sb.toString();
    }

}
